﻿using System;
using System.Collections.Generic;
using Service.Infrastructure.Result;

namespace Service.Infrastructure.Interface
{
    /// <summary>
    ///     设置/环境
    /// </summary>
    public interface ISetting
    {

        /// <summary>
        ///     从数据源中获取数据，仅供外部查询，不更新或查询缓存 
        /// </summary>
        ServiceResult QueryConfig();

        ServiceResult ChangeConfig(ref Dictionary<String, String> dict);


    }
}
